<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@page import="java.sql.*" %>
<%@page import="zozopo.manual.operations.*" %>
<%@taglib prefix="s" uri="/struts-tags"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<html >
  <head>

    <title><s:property value="subject"/> - 正品网店导航</title>
    
    <meta name="description" content="正品网店导，正品网店导航只收录正品网店" />
    <meta name="keywords" content="正品网店,正品网店导航,正品导航" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<style>
	
	</style>
	<script type="text/javascript" src="../comm/editor/editor.js" charset="utf-8"></script>
	
<link rel="stylesheet" href="<%=basePath %>storerecommend/css/andreas09.css" type="text/css" media="screen" />
<style type="text/css">
#container{background:#f0f0f0 url(<%=basePath %>storerecommend/alt-img/bodybg-red.jpg) repeat-x;}
#mainmenu a:hover{background:#f0f0f0 url(<%=basePath %>storerecommend/alt-img/menuhover-red.jpg) top left repeat-x;}
#mainmenu a.current{background:#f0f0f0 url(<%=basePath %>storerecommend/alt-img/menuhover-red.jpg) top left repeat-x;}

a.xl i{background-position:-32px 0; background-image:}


.litit{background-image:url('<%=basePath %>storerecommend/tit.png'); float: left; line-height: 27px; margin-right: 7px; margin-right-value: 7px; margin-right-ltr-source: physical; margin-right-rtl-source: physical; vertical-align: text-top; height: 27px; width:76px; font-size:20px; color:#FFF; text-align: center;}

.lic{overflow: hidden; text-align:center; font-size:18px; margin-bottom: 0px; float:left; overflow:hidden; float: left; display:inline; background-position: center  center; margin-top: 5px; margin-left:10px;}

</style>

  </head>
  
  <body >
  <div id="container" >
    <div id="sitename">
        <h1>正品网店推荐</h1>
        <h2>打造最干净最正品网店推荐网</h2>
    </div>
    <div id="mainmenu">
        <ul>
        
        <li><a href="<%=basePath %>manual/"> 首 页 </a></li>
        
        <li><a href="#">服装</a></li>
        
        <li><a href="#">3C产品</a></li>
        
        <li><a href="#">化装品</a></li>
        
        <li><a href="#">配件/饰品</a></li>
        
        <li><a href="#">包包</a></li>
      
        <li><a href="<%=basePath %>">返回ZOZOPO主页</a></li> 
        
        <li><a class="" href="<%=basePath %>">登陆</a></li>
        
      	<li><a class="" href="<%=basePath %>">注册</a></li> 
   
        </ul>
        
      
    </div>
    <div id="wrap" style="height: 99%;"> 
        <div id="rightside">
            <span id="ad2"> 
            </span>
        </div>
       
    <div id="contentalt" style="height: 100%;overflow: inherit;">
        <h1><s:property value="subject"/></h1>
        <div id="shareSNS"><font color="blue">作者:</font><A href="userinfo.action?usermail=<s:property value="userMail" />"><s:property value="userMail" /></A> <font color="blue">发布日期:</font><s:property value="date" />  <font color="blue">IP:</font> <s:property value="ip" />
        
        </div>
        <p class="box">
       标签:
       <a href="topics.action?kind=<s:property value="release.release_kind"/>"><s:property value="release.release_kindvalue"/></a>
       
        <a href="topics.action?lable=<s:property value="release.release_lable"/>"><s:property value="release.release_labledicvalue"/></a>
        
			<a href="topics.action?brand=<s:property value="release.encodebrand"/>"><s:property value="release.release_brand"/></a>
			
			<a href="#"><s:property value="release.release_secondbrand"/></a>
		        
		  
		        
		        <s:if test="%{goodsList !=null && goodsList.size != 0}">
				<br/>
				
				
				<table>
					<tr>
						<s:iterator id="goodsList" value="goodsList">
							<td >
								
								<s:property value="#goodsList.htmlcode_goods" escape="false"/>
							</td>
						</s:iterator>
					</tr>
				</table>
			</s:if>
        </p>
	<s:property value="messageTemp" escape="false"/>
	
					 
       
        <div style="clear:left" id="ad3"></div>
        
        <div  align="center">

            点击:<STRONG><s:property value="release.release_views"/></STRONG>
        支持:<STRONG><s:property value="release.release_bear"/> </STRONG> <a href="javascript:bear('<s:property value="release.release_id"/>');" style="padding:0em;"><img alt="支持" src="images\thumbs-up-enable.gif" onclick=""/></a>
    </div>
        <div style="clear:left" id="ad3"></div>
        
    </div>
    </div>
    <br>
      <div style="margin-left: 20px;">
      	<div style="float: left;">  
      		<ul>
      			<s:iterator id="storeList" value="storeList">
					<li>
								<A href="view.action?id=<s:property value="#storeList.release_id"/>&from=REMOTE"><s:property value="#storeList.release_subject"/></A>
							</li>
					</s:iterator>
      			<li><a href="<%=basePath %>manual/store.jsp">更多店铺>></a></li>
      			
      		</ul>
      	</div>
      	
      	<div style="float: left;">  
      		<ul>
      			<s:iterator id="storeKindList" value="storeKindList">
						<li>
								<A href="view.action?id=<s:property value="#storeKindList.release_id"/>&from=REMOTE"><s:property value="#storeKindList.release_subject"/></A>
							</li>
					</s:iterator>
      			
      		</ul>
      	</div>
      
      <div style="float: left;">
				<ul>
					<s:iterator id="relatedBrandList" value="relatedBrandList">
						<li>
								<A href="view.action?id=<s:property value="#relatedBrandList.release_id"/> "><s:property value="#relatedBrandList.release_subject"/></A>
							</li>
					</s:iterator>
					
				</ul>
			</div> 
		
			</div>
		

</div>
    
    
    
  

<div id="footer" style="overflow: visible;">
<div>友情链接: <a href="http://www.fobe.cn">FOBE</a> </div>
<p> Powered by Zozopo Work Team 版权所有 2011 粤ICP备11056551号  <img src="http://dt.tongji.linezing.com/tongji.do?unit_id=1826429&amp;uv_id=25291409272505780096&amp;uv_new=0&amp;cna=&amp;cg=&amp;mid=&amp;mmland=&amp;ade=&amp;adtm=&amp;sttm=&amp;cpa=&amp;ss_id=781619180&amp;ss_no=4&amp;ec=1&amp;ref=http%3A//www.zozopo.com/manual/search.action%3Fsearch%3Dvans&amp;url=http%3A//www.zozopo.com/&amp;title=%u6B63%u54C1%u7F51%u5E97%u5BFC%u822A%20-%20Zozopo&amp;charset=UTF-8&amp;domain=zozopo.com&amp;hashval=1054&amp;filtered=0&amp;app=Netscape&amp;agent=Mozilla/5.0%20%28Windows%20NT%206.1%3B%20WOW64%29%20AppleWebKit/536.5%20%28KHTML%2C%20like%20Gecko%29%20Chrome/19.0.1084.56%20Safari/536.5&amp;color=32-bit&amp;screen=1440x900&amp;lg=zh-cn&amp;je=1&amp;fv=11.3%20r300&amp;st=1341220367&amp;vc=ec8f9a20&amp;ut=0&amp;url_id=0&amp;cnu=0.2038719968404621" alt="" width="1" height="1" border="0" />

</p>
<p>
<script type="text/javascript" src="http://js.tongji.linezing.com/2914483/tongji.js"></script><noscript><a href="http://www.linezing.com"><img src="http://img.tongji.linezing.com/2914483/tongji.gif"/></a></noscript>

</p>
</div>
<script type="text/javascript">
for(var mydate=document.getElementsByTagName("span"),i=0;i<mydate.length;i++)if(mydate[i].className=="date"){var val=parseInt(mydate[i].innerHTML),date=new Date(val);y=date.getFullYear();m=date.getMonth()+1;d=date.getDate();mydate[i].innerHTML=y+"-"+m+"-"+d};	
</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4838380-3");
pageTracker._initData();
pageTracker._trackPageview();
</script>
  
  
  
  



	

  </body>


<script language="javascript" type="text/javascript">

subjectId = <s:property value="id" />;

pageNum = 1;
currentPage = 1;


function deletereply(replyid){
	xmlhttp = null;    
	xmlhttp = createXmlHttp();
	url = encodeURI(encodeURI("deletereplyforajax.action?replyId="+replyid));
	//alert(url);
	xmlhttp.open("POST", url, true);
	xmlhttp.onreadystatechange = deleteReplyHandleStateChange;    
	xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded;");    
	xmlhttp.send();	
}

function deleteReplyHandleStateChange(){
	if (xmlhttp.readyState == 4) {  
	      if (xmlhttp.status == 200) {
	       var replyResult =  xmlhttp.responseText;  
	       if(replyResult == 'error'){
	    	   alert(replyResult);
		    }else{
		    	alert("册除成功");
		    	pageNum = 1;
			    reLoadReplyTable();
			}
	      }
	   }
}


function reLoadReplyTable(){
	document.getElementById('displyCurrentPage').innerHTML="当前第"+pageNum+"页";
	//pageNum = document.getElementById('pagenum').value;
	document.getElementById('replyTable').innerHTML = "<tr><td>正在截入数据...</td></tr>";
	xmlhttp = null;    
	xmlhttp = createXmlHttp();
	url = encodeURI(encodeURI("replyviewforajax.action?subjectId="+subjectId+"&pageNum="+pageNum));
	//alert(url);
	xmlhttp.open("POST", url, true);
	xmlhttp.onreadystatechange = replyViewHandleStateChange;    
	xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded;");    
	xmlhttp.send();	
}

function replyViewHandleStateChange(){
	if (xmlhttp.readyState == 4) {  
	      if (xmlhttp.status == 200) {    
	       //	var saerchResult = "{\"options\":\"" + xmlhttp.responseText +"\"}" ;    
	       var replyResult =  xmlhttp.responseText;  
	       //alert(replyResult);
	       if(replyResult == 'error'){
	    	   alert(replyResult);
		    }else{
		    	//alert(replyResult);
		    	document.getElementById('replyTable').innerHTML = replyResult;
			}
	      }
	   }
}







function reply(){
	//document.getElementById('replyButton').disabled="disabled";
	//document.getElementById('search').trim;
	valicode = document.getElementById('validatecode').value;
	context =  document.getElementById('reply').value.replace(/\n/g,'<br>');
	name = document.getElementById('username').value;
	if(name == ''){
		alert("用户名称不能为空.");
		return;
	}
	//alert(context);
	xmlhttp = null;    
	xmlhttp = createXmlHttp();
	url = encodeURI(encodeURI("replyforajax.action?context=" + context + "&name="+name+"&valiCode="+valicode+"&subjectId="+subjectId));
	//alert(url);
	xmlhttp.open("POST", url, true);
	xmlhttp.onreadystatechange = replyHandleStateChange;    
	xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded;");    
	xmlhttp.send();	
}

function replyHandleStateChange(){
	if (xmlhttp.readyState == 4) {  
	      if (xmlhttp.status == 200) {    
	       //	var saerchResult = "{\"options\":\"" + xmlhttp.responseText +"\"}" ;    
	       var replyResult =  xmlhttp.responseText;  
	       //alert(replyResult);
	       if(replyResult == '1'){
	    	   alert("输入检证码不正确,请重新输入");
		    }else if(replyResult == '2'){
		    	 alert("输入检证码不正确,请重新输入");
			}else if(replyResult == '3'){
				 alert("输入检证码不正确,请重新输入");
			 }else{
		       alert('回复成功');
		       window.location.href='view.action?id='+subjectId;	
			}
	      }    
	   }
}

function handleStateChange() {    
    if (xmlhttp.readyState == 4) {  
      if (xmlhttp.status == 200) {    
       //	var saerchResult = "{\"options\":\"" + xmlhttp.responseText +"\"}" ;    
       var saerchResult =  xmlhttp.responseText;  
      // alert(saerchResult);
       document.getElementById('related').innerHTML = saerchResult;
      }    
    }
}    
function createXmlHttp() {
    //根据window.XMLHttpRequest对象是否存在使用不同的创建方式
    if (window.XMLHttpRequest) {
       xmlHttp = new XMLHttpRequest();                                     //FireFox、Opera等浏览器支持的创建方式
    } else {
       xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");   //IE浏览器支持的创建方式
    }

    return xmlHttp;
}

function deletesubject(id){
	//document.getElementById('search').trim;
	 if(confirm("你确请删除此主题信息?")) {
		xmlhttp = null;    
		xmlhttp = createXmlHttp();
		url = encodeURI(encodeURI("deleterelease.action?id=" + id));
		//alert(url);
		xmlhttp.open("GET", url, true);
		xmlhttp.onreadystatechange = deleteSubjectHandleStateChange;    
		xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded;");    
		xmlhttp.send();	
	 }
}

function deleteSubjectHandleStateChange(){
	if (xmlhttp.readyState == 4) {  
	      if (xmlhttp.status == 200) {    
	       //	var saerchResult = "{\"options\":\"" + xmlhttp.responseText +"\"}" ;    
	       var saerchResult =  xmlhttp.responseText;  
	      // alert(saerchResult);
	       if(saerchResult == 'success'){
	    	   alert('删除成功');
	    	   window.setTimeout(function(){window.location.href='index.jsp';},1000);
		    }else{
				alert('删除失败.系统失败,或是用户超时.请重新登陆再试!');
			}
	      }    
	   }
}
var release_bear = <s:property value="release.release_bear"/>;
if(getCookie('<s:property value="release.release_id"/>') == 'true'){
	 document.getElementById('bear').innerHTML='支持:<STRONG>'+release_bear+'</STRONG> <img alt="支持" src="images/thumbs-up-voted.gif" />';
}
function bear(id){
	//document.getElementById('search').trim;
	//alert(getCookie(id));
	if(getCookie(id) != 'true'){
		xmlhttp = null;    
		xmlhttp = createXmlHttp();
		url = encodeURI(encodeURI("bear.action?id=" + id));
		//alert(url);
		xmlhttp.open("POST", url, true);
		xmlhttp.onreadystatechange = bearHandleStateChange;    
		xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded;");    
		xmlhttp.send();	
		SetCookie(id,'true');
		 release_bear++;
  	   document.getElementById('bear').innerHTML='支持:<STRONG>'+release_bear+'</STRONG> <img alt="支持" src="images/thumbs-up-voted.gif" />';
	}else{
		document.getElementById('bear').innerHTML='支持:<STRONG>'+release_bear+'</STRONG> <img alt="支持" src="images/thumbs-up-voted.gif" />';
	}
}

function bearHandleStateChange(){
	if (xmlhttp.readyState == 4) {  
	      if (xmlhttp.status == 200) {    
	       //	var saerchResult = "{\"options\":\"" + xmlhttp.responseText +"\"}" ;    
	       var saerchResult =  xmlhttp.responseText;  
	      // alert(saerchResult);
	       if(saerchResult == 'success'){
	    	   alert('感谢您的支持');
		    }else{
				alert('系统存在问题未能支持此主题!');
			}
	       
	      }    
	   }
}

//写cookies函数 作者：翟振凯
function SetCookie(name,value)//两个参数，一个是cookie的名子，一个是值
{
    var Days = 1; //此 cookie 将被保存 30 天
    var exp  = new Date();    //new Date("December 31, 9998");
    exp.setTime(exp.getTime() + Days*24*60*60*1000);
    document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString();
}
function getCookie(name)//取cookies函数        
{
    var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
     if(arr != null) return unescape(arr[2]); return null;

}
function delCookie(name)//删除cookie
{
    var exp = new Date();
    exp.setTime(exp.getTime() - 1);
    var cval=getCookie(name);
    if(cval!=null) document.cookie= name + "="+cval+";expires="+exp.toGMTString();
}

</script>
</html>
